home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / ultrix.cf < prev    next >
Text File  |  1995-07-12  |  2KB  |  68 lines

  1. XCOMM platform:  $XConsortium: ultrix.cf,v 1.64 94/04/09 20:44:15 rws Exp $
  2.  
  3. #define OSName            Ultrix-32 4.3
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion    4
  6. #define OSMinorVersion    3
  7.  
  8. #define HasNdbm YES
  9. #define HasPutenv YES
  10. #define HasShm YES
  11. #define LintLibFlag -o
  12. #define LintOpts -ax
  13.  
  14. #if HasDECnet
  15. #define ExtraLibraries -ldnet
  16. #endif
  17.  
  18. #if ThreadedX
  19. /* if you want to experiment, turn this on, but no guarantees */
  20. #define HasPosixThreads YES
  21. #define ExtraLibraries -lpthreads -li
  22. #endif
  23.  
  24. #ifdef VaxArchitecture
  25. #define PexNativeFPFormat PEXDEC_F_Floating
  26. #define NativeFPFormat DEC_F_Float
  27. #define UnalignedReferencesAllowed YES           /* if arbitrary deref is okay */
  28. #define BuildServer NO
  29. #endif
  30.  
  31. #ifdef MipsArchitecture
  32. #if OSMajorVersion > 4 || (OSMajorVersion == 4 && OSMinorVersion >= 2)
  33. #define XdecServer YES
  34. #define ServerOSDefines -DDDXTIME
  35. /* Even under ultrix 4.2, the compiler miscompiles some alloca calls */
  36. #define AllocateLocalDefines /* -DINCLUDE_ALLOCA_H */
  37. #else
  38. #define BuildServer NO
  39. #define AllocateLocalDefines /**/
  40. #endif
  41. #if !HasGcc
  42. #define NeedFunctionPrototypes YES
  43. #define PexCCOptions -Wf,-XNp15000,-XNd15000
  44. /*
  45.  * NormalLibObjCompile - compile fragment for a library object file
  46.  *     do ld -x to remove line number symbols for libraries
  47.  */
  48. #define NormalLibObjCompile(options) $(RM) $@ $*.os \            @@\
  49.     && $(CC) -c options $(CFLAGS) $*.c \                @@\
  50.     && $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \            @@\
  51.     && $(MV) $*.os $@
  52. #endif
  53. #endif
  54.  
  55. #if HasGcc
  56. #ifdef VaxArchitecture
  57. #define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
  58. #endif
  59. #ifdef MipsArchitecture
  60. #define CcCmd gcc -ansi -Dmips -Dultrix -fpcc-struct-return
  61. #endif
  62. #define ServerCCOptions /* */
  63. #define AllocateLocalDefines /* */
  64. #endif
  65.  
  66. #define ServerExtraDefines AllocateLocalDefines
  67. #define HasWChar32 YES
  68.